<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
  <head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="${path}/css/editTable.css">
    
    <script type="text/javascript">
    	function check(){
    		var day_num = document.getElementById("day_num").value;
     		if("" == day_num){
     			alert("请输入单日拨打次数限制");
     			return false;
     		}
    	}
    </script>
  </head>
  <body>
    <div>
    	<form id="editLimitUserNumForm" name="editLimitUserNumForm" method="post" action="${path }/limitUserNum/updateLimitUserNum.action" onsubmit="return check();">
    		<p>填写用户拨打次数日限信息</p>
    		<c:choose>
    			<c:when test="${limitUserNumVo.id == null}">
    				<input type="hidden" name="limitUserNumVo.id" value="0" />
    			</c:when>
    			<c:otherwise>
    				<input type="hidden" name="limitUserNumVo.id" value="${limitUserNumVo.id }" />
    			</c:otherwise>
    		</c:choose>
    		<table>
    			<tr>
    				<td>拨打次数日限(条)</td>
    				<td>
    					<input type="text" id="day_num" name="limitUserNumVo.day_num" value="${limitUserNumVo.day_num }" />
    					<span style="color: red;size: 2px;">&nbsp;*必填项</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="2">
    					<input type="submit" name="submit" value="确认" />
    				</td>
    			</tr>
    		</table>
    	</form>
    </div>
  </body>
</html>